Blockly.JavaScript['start'] = function(block) {
  // TODO: Assemble JavaScript into code variable.
  var code = '';
  return code;
};

Blockly.JavaScript['speak'] = function(block) {
  // TODO: Assemble JavaScript into code variable.
  var text = block.getFieldValue("input");
  var code = 'speak("' + text + '");\n';
  return code;
};